package com.bootdo.wx.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.wx.dao.OrderCancelDao;
import com.bootdo.wx.domain.OrderCancelDO;
import com.bootdo.wx.service.OrderCancelService;



@Service
public class OrderCancelServiceImpl implements OrderCancelService {
	@Autowired
	private OrderCancelDao orderCancelDao;
	
	@Override
	public OrderCancelDO get(String id){
		return orderCancelDao.get(id);
	}
	
	@Override
	public List<OrderCancelDO> list(Map<String, Object> map){
		return orderCancelDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return orderCancelDao.count(map);
	}
	
	@Override
	public int save(OrderCancelDO orderCancel){
		return orderCancelDao.save(orderCancel);
	}
	
	@Override
	public int update(OrderCancelDO orderCancel){
		return orderCancelDao.update(orderCancel);
	}
	
	@Override
	public int remove(String id){
		return orderCancelDao.remove(id);
	}
	
	@Override
	public int batchRemove(String[] ids){
		return orderCancelDao.batchRemove(ids);
	}

    @Override
    public List<OrderCancelDO> likeList(Map<String, Object> map){
        return orderCancelDao.likeList(map);
    }
	
}
